package cs2340.droidceptiontodo;

import java.util.*;

public class UserAccount {
	private String name;
	private String username;
	private String email;
	private String password;
	private List<Category> categories;
	private List<ToDoItem> items;
	
	public UserAccount(String username, String password,  String email, String name ) {
		this.name = name;
		this.username = username;
		this.email = email;
		this.password = password;
		categories = new ArrayList<Category>();
		items = new ArrayList<ToDoItem>();
	}
	
	public void setCategories(List<Category> categories) {
		this.categories = categories;
	}
	
	public void setItems() {
		this.items = Files.getStoredItems();
	}
	
	public String getID(){
		return username;
	}
	public String getPassword(){
		return password;
	}
	public String getEmail(){
		return email;
	}
	public String getName(){
		return name;
	}
}